package fr.storeme.android.tinywebdb.server.store;

import java.util.Date;

import javax.persistence.Id;

import com.google.appengine.api.datastore.Text;

public class DataAI {

	@Id private String tag ;
	private Text value;
	private Date  date = new Date();
	
	public DataAI(String tag, String val) {
		this.tag=tag;
		this.value= new Text(val);
	}
	
	public DataAI() {
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getTag() {
		return tag;
	}
	public void setValue(Text value) {
		this.value = value;
	}
	public Text getValue() {
		return value;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Date getDate() {
		return date;
	} 
}
